<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>订单商品</title>
	
	<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">    
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
		<link rel="stylesheet" type="text/css" href="styles.css">
		-->
		<jsp:include page="/page/head.jsp" />
</head>

<body>
<div class="right">
		 <table width="90%" id="mgrTable" border="0" cellpadding="8" cellspacing="1" class="margintop10" style="background:#d9d9d9;">
			<tr>
		      <td width="10%" bgcolor="#eeeeee"><b>序号</b></td>
		      <td width="15%" bgcolor="#eeeeee"><b>商品图片</b></td>
		      <td width="35%" bgcolor="#eeeeee"><b>商品名称</b></td>
		      <td width="10%" bgcolor="#eeeeee"><b>商品单价</b></td>
		      <td width="10%" bgcolor="#eeeeee"><b>购买数量</b></td>
		    </tr>
		    <c:forEach var="list" items="${lDetails}" varStatus="s">
			  <tr>
			      <td bgcolor="#FFFFFF"><c:out value="${s.count}" /></td>
			      <td bgcolor="#FFFFFF"><a href="<%=basePath%>${list.entityUrl}" target="_blank"><img src="${img_server_url}/${list.entityImg}" width="70" height="70" /></a></td>
			      <td bgcolor="#FFFFFF"><a href="<%=basePath%>${list.entityUrl}" target="_blank">${list.entityName}</a></td>
			      <td bgcolor="#FFFFFF">${list.price}</td>
			      <td bgcolor="#FFFFFF">${list.amount}</td>
			  </tr>
		    </c:forEach>
		</table>
</div>
</body>
</html>